﻿<%@page contentType="text/html;charset=UTF-8" language="java" isErrorPage="true" %>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <title>错误页面</title>
    <link rel="icon" href="favicon.ico" type="image/ico">


    <meta name="author" content="yinqi">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/materialdesignicons.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <style>
        body {
            background-color: #fff;
        }

        .error-page {
            height: 100%;
            position: fixed;
            width: 100%;
        }

        .error-body {
            padding-top: 5%;
        }

        .error-body h1 {
            font-size: 210px;
            font-weight: 700;
            text-shadow: 4px 4px 0 #f5f6fa, 6px 6px 0 #33cabb;
            line-height: 210px;
            color: #33cabb;
        }

        .error-body h4 {
            margin: 30px 0px;


        }
        .c1{
          background-repeat: no-repeat;
       background-size: 100% auto;
        }

    </style>
</head>

<body data-logobg="color_8" data-sidebarbg="color_8" onload="control()" background="images/404.png" class="c1">
<section class="error-page">
    <div class="error-box" >
        <div class="error-body text-center" style="margin-top: 450px">
            <h4><b id="msg"></b><font style="font-family: '楷体';font-size: 24px">秒后跳回到首页</font></h4>
            <a href="index.jsp" class="btn btn-primary" style="border-radius: 30px;background-color: #64DAF9" >返回首页</a>
        </div>
    </div>
</section>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript">
    //倒计时5S
    var second = 5;
    var timer;
    function control() {
        timer = setInterval("fun()", 1000);
    }

    function fun() {
        $("#msg").html(second);
        second--;
        if (second == 0) {
            clearInterval(timer);
            location.href = "index.jsp";
        }
    }
</script>
</body>
</html>